﻿@using NewLife;
@using System.Reflection
@using XCode
@using XCode.Configuration
@using Microsoft.AspNetCore.Mvc.Rendering;
@{
    //Layout = NewLife.Cube.Setting.Current.Layout;

    var entity = Model as IEntity;
    var fields = ViewBag.Fields as FieldCollection;
}

<!-- 表单仪表盘，用于显示实体对象的统计信息 -->
@await Html.PartialAsync("_Form_Dashboard")

<div class="form-horizontal">
    <div class="card">
        @await Html.PartialAsync("_Form_Body", entity)
    </div>
</div>